﻿<app:SpottedPageBase
    x:Class="Spotted.Views.GatewayPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:app="clr-namespace:Spotted.Core"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480">

    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="/SplashScreenImage.jpg" />
        </Grid.Background>

        <!-- Row Definitions -->
        <Grid.RowDefinitions>
            <RowDefinition Height="343*" />
            <RowDefinition Height="457*" />
        </Grid.RowDefinitions>
        
        <!-- Stack -->
        <StackPanel Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Stretch">
            <ProgressBar IsIndeterminate="True" Height="Auto"
                         Foreground="{StaticResource SpottedMainColorBrush}"
                         HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Margin="20,0" />

            <TextBlock Text="Loading..." Foreground="{StaticResource SpottedSecondaryColorBrush}"
                       HorizontalAlignment="Center" />
        </StackPanel>
    </Grid>
    
</app:SpottedPageBase>
